package com.wang.jmonkey.common.model.enums;

/**
 * @Description 按钮及访问权限配置信息请求方法
 * @Author HeJiawang
 * @Date 2021/5/22 9:28
 */
public enum SystemButtonMethodEnum implements BaseEnum<Integer> {

    Get(1, "Get"),
    Post(2, "Post"),
    Put(3, "Put"),
    Delete(4, "Delete"),
    ;

    private Integer value;
    private String desc;

    SystemButtonMethodEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public String getDesc() {
        return this.desc;
    }

    @Override
    public Integer getValue() {
        return this.value;
    }
}
